import request from '@/utils/request'

// 查询中小学报名信息列表
export function listPrimary_secondary_enrollment(query) {
  return request({
    url: '/report/primary_secondary_enrollment/list',
    method: 'get',
    params: query
  })
}

// 查询中小学报名信息详细
export function getPrimary_secondary_enrollment(id) {
  return request({
    url: '/report/primary_secondary_enrollment/' + id,
    method: 'get'
  })
}

// 新增中小学报名信息
export function addPrimary_secondary_enrollment(data) {
  return request({
    url: '/report/primary_secondary_enrollment',
    method: 'post',
    data: data
  })
}

// 修改中小学报名信息
export function updatePrimary_secondary_enrollment(data) {
  return request({
    url: '/report/primary_secondary_enrollment',
    method: 'put',
    data: data
  })
}

// 删除中小学报名信息
export function delPrimary_secondary_enrollment(id) {
  return request({
    url: '/report/primary_secondary_enrollment/' + id,
    method: 'delete'
  })
}
